<?php

defined('IN_IA') or exit('Access Denied');
global $_W, $_GPC;
$pagetitle = '卡券';

//message($_GPC['id']);
if($_GPC['op']=='code'){

    wl_load()->classs('qrcode');
    $createqrcode =  new creat_qrcode();
    $aa=$createqrcode->createshaoniangongQrcode($_GPC['id']);
    die(json_encode(array('status'=>1,'url'=>$aa)));
}
include wl_template('detailkq');

exit();